import React, { Component } from 'react'
import { fn } from '../high'

 class One extends Component {
   render() {
    const { count,add} =this.props
    return (
      <div>
        One
        -- {count}
        <button onClick = {add}>+++</button>
      </div>
    )
  }
}
One = fn(One)({
  count: 289099,
  num: 7,
  list:[1,2,3]
})(17)
export default  One